New NUnit runner for Microsoft.Testing.Platform#3387
New NUnit runner for Microsoft.Testing.Platform#3387christophwille wants to merge 5 commits intomasterfrom
Conversation
|
Issue to watch out for: coverlet-coverage/coverlet#1715 ILSpy/.github/workflows/build-ilspy.yml Line 62 in a592169 We don't collect code coverage data anyways, so this is more or less a non-issue. |
|
CI uses
What are the respective equivalents for MTS? See this thread on -logger: https://bsky.app/profile/tyrrrz.me/post/3liep5xqqy22q plus issue Tyrrrz/GitHubActionsTestLogger#41 (comment) Edit: https://github.com/Tyrrrz/GitHubActionsTestLogger might be an option to add as well. |
|
|
||
| <IsPackable>false</IsPackable> | ||
| <StartupObject>AutoGeneratedProgram</StartupObject> | ||
| <IsTestProject>true</IsTestProject> |
There was a problem hiding this comment.
This shouldn't be needed.
| <IsPackable>false</IsPackable> | ||
| <StartupObject>AutoGeneratedProgram</StartupObject> | ||
| <IsTestProject>true</IsTestProject> | ||
| <EnableNUnitRunner>true</EnableNUnitRunner> |
There was a problem hiding this comment.
I advise moving this to Directory.Build.props
|
@christophwille Is it necessary to use junit test results format, or could you switch to TRX? Also, I'm not sure why you are passing individual dlls with Note 1: You will need Note 2: The extra Small note: the abbreviation is MTP (Microsoft.Testing.Platform) not MTS |
ILSpy/.github/workflows/build-ilspy.yml Line 76 in 412b513 @Youssef1313 back in the day (at least) that was the reason (didn't check if that still is not trx-friendly). That is also the comment re:GitHubActionsTestLogger as a potential replacement. |
|
Hmm, yeah looks like this GitHub Action doesn't support TRX: test-summary/action#1 |
|
I started a PR for the testlogger so that it supports JUnit reporter for MTP spekt/testlogger#172. Let's see if this can get merged soon, assuming the work is approved by the maintainer. |
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-nunit-runner-intro
Microsoft Testing Platform
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-intro?tabs=dotnetcli